using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace VOL.Entity.DomainModels
{
    /// <summary>
    /// 用户下拉选择DTO
    /// </summary>
    public class UserSelectDto
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int User_Id { get; set; }

        /// <summary>
        /// 用户账号
        /// </summary>
        public string UserName { get; set; }

      
    }

    /// <summary>
    /// 用户查询参数DTO
    /// </summary>
    public class UserSearchDto
    {
        /// <summary>
        /// 用户名称（模糊查询，包括账号和真实姓名）
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 部门ID（精确查询）
        /// </summary>
        public Guid? DepartmentId { get; set; }

        /// <summary>
        /// 角色ID（精确查询）
        /// </summary>
        public int? RoleId { get; set; }

        /// <summary>
        /// 是否只显示启用的用户
        /// </summary>
        public bool? OnlyEnabled { get; set; } = true;

        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页记录数
        /// </summary>
        public int PageSize { get; set; } = 20;
    }
   
}
